package a08_decorator;

public abstract class AbstractDecorator implements IComponent {
	private IComponent component;

	public AbstractDecorator(IComponent component) {
		this.setComponent(component);
	}

	/**
	 * @return the component
	 */
	public IComponent getComponent() {
		return component;
	}

	/**
	 * @param component the component to set
	 */
	public void setComponent(IComponent component) {
		this.component = component;
	}

}
